package com.briup.demo.service.impl;

import com.briup.demo.bean.Test;
import com.briup.demo.dao.TestMapper;
import com.briup.demo.service.ITestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TestServiceImpl  implements ITestService {
    @Resource
    private TestMapper testMapper;
    @Override
    public List<Test> findAll() {
        return testMapper.selectAll();
    }
}
